import request from "@/common/ability/request";

/**
 * 所属区县
 * @returns
 */
export function areaDic(parentCode = "340200000000") {
  return request.get("/dict/findByTypeAndParent", {
    type: "XZQH",
    parentType: "XZQH",
    parentCode
  });
}

/**
 * 隔离点类型
 * @returns
 */
export function IPTypeDic() {
  return request.get("/dict/findByType", {
    type: "GLDLX"
  });
}

/**
 * 隔离点状态
 * @returns
 */
export function IPStatusDic() {
  return request.get("/dict/findByType", {
    type: "GLDZT"
  });
}
/**
 * 证件类型
 * @returns
 */
export function certiicateType() {
  return request.get("/dict/findByType", {
    type: "ZJLX"
  });
}

export function staffType() {
  return request.get("/dict/findByType", {
    type: "ZJLX"
  });
}
